package com.soyotec.algorithm.value;

import java.io.Serializable;
import java.util.List;

public class Limit<T extends Value> implements Serializable {
    private T upperBound;
    private T lowerBound;
    private List<T> range;
    boolean isDiscrete;

    public T getUpperBound() {
        return upperBound;
    }

    public void setUpperBound(T upperBound) {
        this.upperBound = upperBound;
    }

    public T getLowerBound() {
        return lowerBound;
    }

    public void setLowerBound(T lowerBound) {
        this.lowerBound = lowerBound;
    }

    public List<T> getRange() {
        return range;
    }

    public void setRange(List<T> range) {
        this.range = range;
    }

    public boolean isDiscrete() {
        return isDiscrete;
    }

    public void setDiscrete(boolean discrete) {
        isDiscrete = discrete;
    }
}
